package design.pattern.AbstractFactory;

public class MainTest {
    public static void main(String[] args) {
        ICar electric = new IBMWCarFacroty().createElectric();
        electric.run();

        ICar petroleum = new IBenChiCarFacroty().petroleum();
        petroleum.run();
    }
}
